<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::get('/test','SimpleTestController@index');


//#########################h5页面 路由#################################################
Route::group(['prefix'=>'h5'],function(){
    Route::match(['get','post'],'serviceTestIndex','ServiceTestController@index')->name('h5serviceTestIndex');
});
//#########################h5页面 路由  end###############################################


//****************************************************************************************
//****************************************************************************************


//#########################pc页面 路由#####################################################
Route::group(['prefix'=>'pc'],function(){
    Route::match(['get','post'],'serviceTestIndex','ServiceTestController@index')->name('pcserviceTestIndex');
});

//#########################h5页面 路由  end###############################################